<?php
/**
* File that sets view of the new busline insert form.
* This file will be called by Ajax
* @package busmap
*/
?>
<table class="data-listing" cellpadding=0 cellspacing=0 border=0>
	<tr>
		<th>Nimi</th>
		<th class="big">Kirjeldus</th>
		<th>Läbib peatusi</th>
		<th class="button">Tegevused</th>
	</tr>
	<tr>
		<td colspan=4>
		<?php
		$errorsTxt='';
		if($this->errors){
			foreach($this->errors as $error){
				$errorsTxt .= '<div class="withErrors">'.$error[0].'</div>';
			}
		}
		echo ($errorsTxt)?$errorsTxt:'';
		echo $this->insertBuslineForm;
		?>
		<div style="clear:both;"></div>
		</td>
	</tr>
</table>